package cn.tedu.hello_two;



public class Test6 {
public static void main(String[] args) {
	Dome d=new Dome();
	d.eat();
	System.out.println(d.name);
	
	Dome.game();
	System.out.println(Dome.age);
	
	Dome d2=new Dome();
	Dome d3=new Dome();
	d2.age=9;
	System.out.println(d3.age);
}
}
class Dome{
	String name;
	public void eat() {
		System.out.println("name..");
		game();
		System.out.println(age);
	}
	static int age=10;;
	static public void game() {
		System.out.println("game");
	}
}
